package com.prawn.ift_baseconfig.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="ift_network_type")
public class NetworkType implements Serializable{

	@Id
	private String id;//编号


	private String name;//类型名称
	private String parentId;//父类编号
	private String parentIds;// 多层父id串
	private Integer level;//深度
	private Integer sort;// 排序号，越小越前
	private String remarks;//备注信息
	private String createBy;//创建者
	private java.util.Date createDate;//创建时间
	private String updateBy;//更新者
	private java.util.Date updateDate;//更新时间
	private String delFlag="0";//删除标记

	//关联数据
	@Transient
	private List<NetworkType> children;

	public List<NetworkType> getChildren() {
		return children;
	}

	public void setChildren(List<NetworkType> children) {
		this.children = children;
	}


	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getName() {		
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getParentId() {		
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getParentIds() {		
		return parentIds;
	}
	public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}

	public Integer getLevel() {		
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getSort() {		
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getRemarks() {		
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getCreateBy() {		
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public java.util.Date getCreateDate() {		
		return createDate;
	}
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateBy() {		
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public java.util.Date getUpdateDate() {		
		return updateDate;
	}
	public void setUpdateDate(java.util.Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getDelFlag() {		
		return delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}


	
}
